<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateFishpondTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		//
        Schema::create('fishpond', function($table) {
            $table->increments('id');
            $table->char('name', 50)->default('');
            $table->char('location', 100)->default('');
            // 1 : 天塘 2 : 野塘 3 : 斤塘 ...
            $table->tinyInteger('type')->default(0);
        });
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		//
        Schema::drop('fishpond');
	}

}
